package com.example.patentback.service;

import com.example.patentback.entity.Patent;
import com.example.patentback.entity.PatentDocumentDto;

import java.util.List;

public interface PatentService {
    List<Patent> selectSixPatents(String name,int start);
    Patent insertPatent(PatentDocumentDto patentDocumentDto,Long documentId);
    List<Patent> selectAllPatents(List<Long> patentIds,String name,int current,int size,int status1,int status2);
    int updateStatus(Long id,int sta);
    Patent selectPatent(Long id);
    int deletePatents(List<Long> ids);
}
